package com.hh.admin.service.impl;

import com.hh.admin.entity.SysOperationLog;
import com.hh.admin.mapper.SysOperationLogMapper;
import com.hh.admin.service.ISysOperationLogService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hxn
 * @since 2018-02-09
 */
@Service
public class SysOperationLogServiceImpl extends ServiceImpl<SysOperationLogMapper, SysOperationLog> implements ISysOperationLogService {

	@Autowired
	SysOperationLogMapper sysOperationLogMapper;
	
	@Override
	public int deleteAMonthAgo() {
		// TODO Auto-generated method stub
		return sysOperationLogMapper.deleteAMonthAgo();
	}
	
}
